package com.littleken.foodieApi.controller;

import com.littleken.foodieCommon.Response.ServerResponse;
import com.littleken.foodiePojo.bo.ItemsCommentsBO;
import com.littleken.foodiePojo.query.ItemCommentQueryParam;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*
 * Create by littleken on 2020/11/27 10:10
 */
@RestController
@RequestMapping("/itemsComments")
public class ItemsCommentsController {

    @PostMapping("/saveList")
    public ServerResponse saveList(@RequestBody ItemsCommentsBO itemsCommentsBO) {
        return ServerResponse.success();
    }

    @PostMapping("/query")
    public ServerResponse query(@RequestBody ItemCommentQueryParam param) {
        return ServerResponse.success();
    }
}
